x86: don't apply reboot quirks if reboot set by user
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Fri, 13 Mar 2015 11:41:51 +0000 (12:41 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 13 Mar 2015 11:41:51 +0000 (12:41 +0100)
commit9832f5e8e3575f8affceb2751f7422704bf7b446
treea137b9ce3bdabc074e0979efba26ebcd46df33fa
parent8395b67ab0b8a8623b2fa46d84c1796d3aa5b2d7
x86: don't apply reboot quirks if reboot set by user

If reboot= is specified on the command-line, don't apply reboot quirks
to allow the command-line option to take precedence.

This is a port of Linux commit 5955633e91bf ("x86/reboot: Skip DMI
checks if reboot set by user").

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Leverage (and make apply on top of) c643fb110a ("x86/EFI: allow
reboot= overrides when running under EFI").

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/shutdown.c